/**
 * @filename:Student Student
 * @project constract  V1.0
 * Copyright(c) 2018 lin keqing Co. Ltd. 
 * All right reserved. 
 */
package com.znufe.exam.domain;

import java.io.Serializable;
import java.util.Date;
import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

/**   
 *  
 * @Description:  学生信息表
 * @Author:       lin keqing   
 * @CreateDate:   Student
 * @Version:      V1.0
 *    
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Student implements Serializable {

	private static final long serialVersionUID = 1591969028270L;
	
	@ApiModelProperty(name = "id" , value = "逻辑主键")
	private Integer id;

	@ApiModelProperty(name = "voteId" , value = "答题器编号")
	private Integer voteId;

	@ApiModelProperty(name = "voteBaseId" , value = "基站编号")
	private String voteBaseId;

	@ApiModelProperty(name = "classId" , value = "班级")
	private Integer classId;

	@ApiModelProperty(name = "stuName" , value = "姓名")
	private String stuName;

	@ApiModelProperty(name = "gender" , value = "性别（0：女；1：男）")
	private Integer gender;

	@ApiModelProperty(name = "note" , value = "备注")
	private String note;

	@ApiModelProperty(name = "stuPhone" , value = "学生电话")
	private String stuPhone;

	@ApiModelProperty(name = "isEnabled" , value = "0-禁用；1-启用")
	private Integer isEnabled;

	@ApiModelProperty(name = "isDeleted" , value = "0-未删除；1-已删除")
	private Integer isDeleted;

	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	@ApiModelProperty(name = "createTime" , value = "创建时间")
	private Date createTime;

	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	@ApiModelProperty(name = "modifiedTime" , value = "修改时间")
	private Date modifiedTime;
}
